﻿<div id="ugovoriBrowse">
	<h1>Pregled ugovora</h1>
	<div class="area" style="width:400px;">
	<ul class="letter_filter">
		<li>Strana:</li>
		<li><a href="javascript:void(0)" onclick="LoadRSDoc('ugovori.php?a=pregled&kword={{$kword}}&page=1','setContent')"><img src="gui/record_first.gif" border="0" /></a></li>
		{{%loop start page}}
		<li><a href="javascript:void(0)" onclick="LoadRSDoc('ugovori.php?a=pregled&kword={{$kword}}&page={{$page}}','setContent')" {{$current_page}}>{{$page}}</a></li>
		{{%loop end}}
		<li><a href="javascript:void(0)" onclick="LoadRSDoc('ugovori.php?a=pregled&kword={{$kword}}&page={{$numpages}}','setContent')"><img src="gui/record_last.gif" border="0" /></a></li>
	</ul><br clear="all" />
	<table style="margin-top:10px;" width="100%">
		<tr class="head">
			<td width="10%">broj</td>
			<td>komitent</td>
			<td width="15%">datum</td>
		</tr>
		{{%loop start broj}}
		<tr onclick="LoadRSDoc('ugovori.php?a=display&id={{$id}}','setContent')">
			<td>{{$broj}}</td>
			<td>{{$komitent}}</td>
			<td>{{$datum}}</td>
		</tr>
		{{%loop end}}
	</table>
	</div>
	<div style="float:left">
		<div class="area" style="margin-left:2px">
			{{$filter_form}}
		</div><br clear="all" />
		<div class="info" style="margin:10px;">{{$info}}</div>
	</div>
</div>